package com.edushare.common.util;

public class GradeKeyContainer implements Comparable<GradeKeyContainer>{
	
	public GradeKeyContainer(Double maxMarks, Double gP, String alphabet){
		this.maxMarks = maxMarks;
		this.gP = gP;
		this.alphabet = alphabet;
	}
	
	public Double maxMarks;
	public Double gP;
	public String alphabet;
	public int compareTo(GradeKeyContainer arg0) {
		if(gP > arg0.gP)
			return 1;
		if(gP < arg0.gP)
			return -1;
		return 0;
	}
}
